package com.x86.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.x86.domain.Feedback;
import com.x86.domain.FeedbackVO2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 风亦未止
 * @date 2022/4/11 14:02
 */
@Mapper
public interface FeedbackMapper extends BaseMapper<Feedback> {

    /**
     * 获取我的
     * @param userid
     * @return
     */
    List<FeedbackVO2> getMyFeedback(Integer userid);
    /**
     * 获取所有
     * @return
     */
    List<FeedbackVO2> getFeedbackList();
}